package com.homework.T5;

/**
 * @author xiyu
 * @version 1.0
 * @date 2025/3/29 18:55
 * @description 牌类(花色，点数，序号)
 */
public class Card {
    private String huase;
    private int dianshu;
    private int cid;

    public Card(String huase, int dianshu, int cid) {
        this.huase = huase;
        this.dianshu = dianshu;
        this.cid = cid;
    }

    public Card() {
    }

    public String getHuase() {
        return huase;
    }

    public void setHuase(String huase) {
        this.huase = huase;
    }

    public int getDianshu() {
        return dianshu;
    }

    public void setDianshu(int dianshu) {
        this.dianshu = dianshu;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    @Override
    public String toString() {
        return "Card{" +
                "huase='" + huase + '\'' +
                ", dianshu=" + dianshu +
                ", cid=" + cid +
                '}';
    }
}
